#
# Be sure to run `pod lib lint JQKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JQNetworking'
  s.version          = '0.1.0'
  s.platform         = :ios, "8.0"
  s.summary          = '基于AFNetworking封装简单易用的网络请求库'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
    基于AFNetworking封装简单易用的网络请求库，主要包含以下内容：
    QNetworkManager: 网络请求
                       DESC

  s.homepage         = 'https://gitee.com/zjq_net/JQNetworking'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'jqz' => 'jquan.zhu@gmail.com' }
  s.source           = { :git => 'https://gitee.com/zjq_net/JQNetworking.git', :tag => s.version.to_s }

  s.ios.deployment_target = '8.0'
  s.public_header_files = "JQNetworking/JQNetworking.h"
  s.source_files = "JQNetworking/*.{h,m}"

  # s.resource_bundles = {
  #   'JQNetworking' => ['JQNetworking/Assets/*.png']
  # }

  s.frameworks = 'UIKit', 'MapKit'

  # 通用宏定义、快捷方法
  s.subspec 'Shortcut' do |shortcut|
    shortcut.source_files = "JQKit/Shortcut/*.{h,m}"
  end
    
  s.dependency 'AFNetworking', '~> 2.3'
end
